package com.jiuyun.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Exam {
    String exam_id;
    String exam_name;
     String       exam_avatar;
      String       exam_desc;
      String   exam_question_ids;
    int  exam_score;
    int  exam_time_limit;
    Date exam_start_date;
    Date exam_end_date;

    public Exam(String exam_name, String exam_desc, int exam_score, Date exam_end_date) {
        this.exam_name = exam_name;
        this.exam_desc = exam_desc;
        this.exam_score = exam_score;
        this.exam_end_date = exam_end_date;
    }
    public Exam(String exam_id ,String exam_name, String exam_desc, int exam_score, Date exam_end_date) {
        this.exam_id = exam_id;
        this.exam_name = exam_name;
        this.exam_desc = exam_desc;
        this.exam_score = exam_score;
        this.exam_end_date = exam_end_date;

    }
}
